package com.erp.system.dao;

import com.erp.system.domain.LeaveDO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

/**
 * 请假流程
 * @author Eric
 * @email shiliang900713@163.com
 * @date 2019-09-24 13:27:40
 */
@Mapper
public interface LeaveDao {

	LeaveDO get(Long id);
	
	List<LeaveDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(LeaveDO leave);
	
	int update(LeaveDO leave);
	
	int remove(Long id);
	
	int batchRemove(Long[] ids);

    List<LeaveDO> reportlist(Map<String, Object> map);

	int reportcount(Map<String, Object> map);
}
